import request from '../utils/request.js';
//添加
export function WeChatMemberBrowsing(data){
	return request({
		url:'/WeChatMemberBrowsing',
		method:'POST',
		data,
	})
}
//查看购物车数量
export function WXShopCarQuantity(data){
	return request({
		url:'/WXShopCarQuantity',
		method:'POST',
		data,
	})
}
//客服历史记录
export function WXMemberServes(data){
	return request({
		url:'/WXMemberServes',
		method:'POST',
		data,
	})
}
//订阅消息
export function WeChatSeedMessage(data){
	return request({
		url:'/WeChatSeedMessage?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//订阅消息次数
export function getWeChatSeedMessageAll(data){
	return request({
		url:'/getWeChatSeedMessageAll?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//储值
export function WeChatRechargeCard(data){
	return request({
		url:'/WeChatRechargeCard?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//提交订单
export function setSalesOrderAction(data){
	return request({
		url:'/setSalesOrderAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//小程序消费
export function WXWeChatDefrayAction(data){
	return request({
		url:'/WXWeChatDefrayAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//可用储值卡
export function getprepaymentCardSalesAction(data){
	return request({
		url:'/getprepaymentCardSalesAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

